import { Message } from 'element-ui'

export const useBlnisactive = (blnIsactiveFn, payLoad) => {
  const ebable = async() => {
    const res = await blnIsactiveFn(payLoad)
    if (res.code === 20000) {
      Message.success(res.message)
    }
  }
  return ebable()
}
